#pragma once

#include <sfml/System.hpp>
#include <sfml/Graphics.hpp>
#include "Defines.h"
#include <vector>

class MouseMap
{
public:
	MouseMap(void): mmdLookUp(0) {}
	MouseMap(sf::Image* img);
	~MouseMap(void);
	void Load(sf::Image* img);
	MouseMapDirection Lookup(int row, int col);
	MouseMapDirection Lookup(sf::Vector2i pos);
	inline const sf::Vector2i& GetSize() const { return size; }
private:
	//x and y size of the mousemap
	sf::Vector2i size;
	//lookup array
	std::vector<MouseMapDirection> mmdLookUp;
};